From 395217929a9452b58e61ed028de5f6f73bb4b5ef Mon Sep 17 00:00:00 2001 From: John Goerzen Date: Thu, 17 Jul 2008 15:18:04 -0500 Subject: [PATCH] Applied upstream patch to lmx.c to make it compile checked in lmx.c cvs version 1.4 at http://gpsbabel.cvs.sourceforge.net/gpsbabel/gpsbabel/lmx.c?r1=1.3&r2=1.4&view=patch --- lmx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lmx.c b/lmx.c index 5082a0cc0..06a8154e5 100644 --- a/lmx.c +++ b/lmx.c @@ -31,7 +31,7 @@ static gbfile *ofd; static waypoint *wpt_tmp; -char *link, *linkt; +char *urllink, *urllinkt; #define MYNAME "lmx" @@ -205,25 +205,25 @@ lmx_lm_desc(const char *args, const char **unused) static void lmx_lm_mlink_s(const char *args, const char **unused) { - link = linkt = NULL; + urllink = urllinkt = NULL; } static void lmx_lm_link(const char *args, const char **unused) { - link = xstrdup(args); + urllink = xstrdup(args); } static void lmx_lm_linkt(const char *args, const char **unused) { - linkt = xstrdup(args); + urllinkt = xstrdup(args); } static void lmx_lm_mlink_e(const char *args, const char **unused) { - waypt_add_url(wpt_tmp, link, linkt); + waypt_add_url(wpt_tmp, urllink, urllinkt); } -- 2.30.2